package com.share.device.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.share.system.api.domain.Region;

import java.util.List;

public interface IRegionService extends IService<Region> {

    List<Region> treeSelect(String parentCode);

    String getNameByCode(String code);

    /**
     * 获取表的行数
     */
    int getTableCount();

    List<Region> getAllRegion(int page, int pageSize);

}
